package com.internal.datamodel;

import java.util.List;

import com.persistances.entities.Artist;

public class NodeRoot {
	
	private List<NodeArtist> nodeArtist;

	public List<NodeArtist> getNodeArtist() {
		return nodeArtist;
	}

	public void setNodeArtist(List<NodeArtist> nodeArtist) {
		this.nodeArtist = nodeArtist;
	}
	
	@Override
	public String toString(){
		
		StringBuffer buff = new StringBuffer();
		for (NodeArtist node : nodeArtist) {
			Artist temp = node.getEntitiesArtist();
			buff.append(" Id :"+temp.getIdartist());
			buff.append(" Name :"+ temp.getName());
		}
		
		return buff.toString();
	}
	
	

}
